About 539 letters

About 3 minutes

#locals

Description: Return a mapping object representing the current local symbol table.

def locals():
    '''
    Return a mapping object representing the current local symbol table

    :return: A mapping object of the current local symbol table
    '''

Example:

def main():
    name = 'Alice'
    age = 17
    print(locals())

main()

>>> Establishing WebAssembly Runtime.

>>> Standby.

Powered by Shift.

Updated: 6/9/2025

Author: PlanC

Created: 6/9/2025